package br.com.panfleto.cadastro.model.persistence;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

/** @author Hibernate CodeGenerator */
public class TbBanner implements Serializable {

	/** identifier field */
	private Integer cod;

	/** nullable persistent field */
	private String cliente;

	/** nullable persistent field */
	private String posicao;

	/** nullable persistent field */
	private String url;

	/** full constructor */
	public TbBanner(Integer cod, String cliente, String posicao, String url) {
		this.cod = cod;
		this.cliente = cliente;
		this.posicao = posicao;
		this.url = url;
	}

	/** default constructor */
	public TbBanner() {
	}

	/** minimal constructor */
	public TbBanner(Integer cod) {
		this.cod = cod;
	}

	public Integer getCod() {
		return this.cod;
	}

	public void setCod(Integer cod) {
		this.cod = cod;
	}

	public String getCliente() {
		return this.cliente;
	}

	public void setCliente(String cliente) {
		this.cliente = cliente;
	}

	public String getPosicao() {
		return this.posicao;
	}

	public void setPosicao(String posicao) {
		this.posicao = posicao;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String toString() {
		return new ToStringBuilder(this).append("cod", getCod()).toString();
	}

}
